package com.kunchi.wms.stock.po;

import com.kunchi.isb.base.dto.ISBDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Size;

@ApiModel(value="库存对象",description="包含库存名称，库存编码，库存状态")
public class Stock extends ISBDto {

    @ApiModelProperty(value = "库存名称", name = "库存名称", example = "仓库NO.1")
    private String stoName;

    @ApiModelProperty(value = "库存编码", name = "库存编码", example = "Stock_New_NO.1")
    @Size(min = 10,max = 20,message = "订单编码不小于10且不得超过20")
    private String stoNumber;

    @ApiModelProperty(value = "库存状态", name = "库存状态", example = "Y:已满，N未满")
    private String stoStatus;


    public String getStoName() {
        return stoName;
    }

    public void setStoName(String stoName) {
        this.stoName = stoName;
    }

    public String getStoNumber() {
        return stoNumber;
    }

    public void setStoNumber(String stoNumber) {
        this.stoNumber = stoNumber;
    }

    public String getStoStatus() {
        return stoStatus;
    }

    public void setStoStatus(String stoStatus) {
        this.stoStatus = stoStatus;
    }
}
